package cn.nfwx.tv.db;

import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

/**
 * Created by zhouzechao on 2018/5/23.
 */

@Entity(tableName = "tb_tvappoint")
public class TvAppointment {
    /**
     * url : null
     * program_time : 2018-05-23 22:06
     * program_id : 3184
     * channel_name : 中央三套
     * program_name : 综艺喜乐汇-2018-654
     * channel : cctv3
     */
    @PrimaryKey(autoGenerate = true)
    private int id;

    @ColumnInfo(name = "url")
    private String url;
    @ColumnInfo(name = "program_time")
    private String program_time;
    @ColumnInfo(name = "program_end_time")
    private String program_end_time;
    @ColumnInfo(name = "program_id")
    private int program_id;
    @ColumnInfo(name = "channel_name")
    private String channel_name;
    @ColumnInfo(name = "program_name")
    private String program_name;
    @ColumnInfo(name = "channel")
    private String channel;

    private boolean isCheck;

    private boolean isLive;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getProgram_time() {
        return program_time;
    }

    public void setProgram_time(String program_time) {
        this.program_time = program_time;
    }

    public int getProgram_id() {
        return program_id;
    }

    public void setProgram_id(int program_id) {
        this.program_id = program_id;
    }

    public String getChannel_name() {
        return channel_name;
    }

    public void setChannel_name(String channel_name) {
        this.channel_name = channel_name;
    }

    public String getProgram_name() {
        return program_name;
    }

    public void setProgram_name(String program_name) {
        this.program_name = program_name;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProgram_end_time() {
        return program_end_time;
    }

    public void setProgram_end_time(String program_end_time) {
        this.program_end_time = program_end_time;
    }

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    public boolean isLive() {
        return isLive;
    }

    public void setLive(boolean live) {
        isLive = live;
    }
}
